package com.lagou.concurrent.demo;

public class User {
    private final Integer userId;
    private final String username;
    private final String desc;

    public User(Integer userId, String username, String desc) {
        this.userId = userId;
        this.username = username;
        this.desc = desc;
    }

    public Integer getUserId() {
        return userId;
    }

    public String getUsername() {
        return username;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}